package com.topisv.tms.entity.ulorder;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.topisv.tms.entity.AreaGroup;
import com.topisv.tms.entity.Customers;
import com.topisv.tms.entity.IdEntity;
import com.topisv.tms.entity.LogisticsCompany;
import com.topisv.tms.entity.User;

/**
 * 线下订单
 * @author ch
 *
 */
@Entity
@Table(name = "ul_order")
public class Ulorder extends IdEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private String orderno;
	
	private String customerCode;
	
	private String warehouseCode;
	
	private String customerOrdeno;
	
	private Integer weight;
	
	private String expCompany;
	
	private String expNo;
	
	private String fromName;
	
	private String fromTel;
	
	private String fromAddress;
	
	private String toName;
	
	private String toTel;
	
	private String toAddress;
	
	private Date createTime;
	
	private String createrUuid;
	
	private String senderUuid;
	
	private Date sendTime;
	
	private String status;
	
	private String remark;
	
	private String goodsStatus;
	
	public String getGoodsStatus() {
		return goodsStatus;
	}

	public void setGoodsStatus(String goodsStatus) {
		this.goodsStatus = goodsStatus;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getSenderUuid() {
		return senderUuid;
	}

	public void setSenderUuid(String senderUuid) {
		this.senderUuid = senderUuid;
	}

	public String getCustomerOrdeno() {
		return customerOrdeno;
	}

	public void setCustomerOrdeno(String customerOrdeno) {
		this.customerOrdeno = customerOrdeno;
	}

	public Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getCustomerCode() {
		return customerCode;
	}

	public void setCustomerCode(String customerCode) {
		this.customerCode = customerCode;
	}

	public String getWarehouseCode() {
		return warehouseCode;
	}

	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}

	public Integer getWeight() {
		return weight;
	}

	public void setWeight(Integer weight) {
		this.weight = weight;
	}

	public String getExpCompany() {
		return expCompany;
	}

	public void setExpCompany(String expCompany) {
		this.expCompany = expCompany;
	}

	public String getExpNo() {
		return expNo;
	}

	public void setExpNo(String expNo) {
		this.expNo = expNo;
	}

	public String getFromName() {
		return fromName;
	}
	
	public String getOrderno() {
		return orderno;
	}

	public void setOrderno(String orderno) {
		this.orderno = orderno;
	}

	public void setFromName(String fromName) {
		this.fromName = fromName;
	}

	public String getFromTel() {
		return fromTel;
	}

	public void setFromTel(String fromTel) {
		this.fromTel = fromTel;
	}

	public String getFromAddress() {
		return fromAddress;
	}

	public void setFromAddress(String fromAddress) {
		this.fromAddress = fromAddress;
	}

	public String getToName() {
		return toName;
	}

	public void setToName(String toName) {
		this.toName = toName;
	}

	public String getToTel() {
		return toTel;
	}

	public void setToTel(String toTel) {
		this.toTel = toTel;
	}

	public String getToAddress() {
		return toAddress;
	}

	public void setToAddress(String toAddress) {
		this.toAddress = toAddress;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreaterUuid() {
		return createrUuid;
	}

	public void setCreaterUuid(String createrUuid) {
		this.createrUuid = createrUuid;
	}
	
	//dto属性
	private Customers customer;
	
	private AreaGroup warehouse;
	
	private User creater;
	
	private User sender;
	
	private LogisticsCompany company;
	
	@Transient
	public LogisticsCompany getCompany() {
		return company;
	}

	public void setCompany(LogisticsCompany company) {
		this.company = company;
	}

	@Transient
	public Customers getCustomer() {
		return customer;
	}

	public void setCustomer(Customers customer) {
		this.customer = customer;
	}

	@Transient
	public AreaGroup getWarehouse() {
		return warehouse;
	}

	public void setWarehouse(AreaGroup warehouse) {
		this.warehouse = warehouse;
	}

	@Transient
	public User getCreater() {
		return creater;
	}

	public void setCreater(User creater) {
		this.creater = creater;
	}

	@Transient
	public User getSender() {
		return sender;
	}

	public void setSender(User sender) {
		this.sender = sender;
	}
	
	
	

}